Skip to content

Bolt datatypes, RowDecodeFailure, routing, Psalm, and result typing#305

Open
p123-stack wants to merge 14 commits into
mainfrom
datatypes
Open

Bolt datatypes, RowDecodeFailure, routing, Psalm, and result typing#305
p123-stack wants to merge 14 commits into
mainfrom
datatypes

Conversation

@p123-stack
Copy link
Copy Markdown
Collaborator

  • Bolt hello can expose optional patch_bolt; auth return types should allow it without invalid array offsets.
  • Neo4j cluster routing must not call route() on Bolt 4.2 and must pass the correct third argument on 4.3 (?string db) vs 4.4+ (extra map).
  • SummarizedResult may internally buffer RowDecodeFailure sentinel rows; callers should see CypherMap/DateTime-style types through current(), get(), toArray(), etc., without @psalm-suppress on the constructor.
  • Integration test testDateTime was asserting a single OGM class (DateTimeZoneId) while the server can legitimately round-trip the same instant as Types\DateTime (offset wire form); the test now asserts the supported types and instant equality via toDateTime().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant